package org.come.Jpanel;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.math.BigDecimal;

import javax.swing.*;

import org.come.until.FormsManagement;

import com.tool.btn.ExchangeCodeBtn;
import com.tool.tcpimg.UIUtils;

public class WxchangeAwardJpanel extends JPanel {
    private JTextArea testMes;// 用来显示聊天信息
    private ExchangeCodeBtn codeBtn1,// 确定按钮
            codeBtn2;// 取消按钮
    private JTextField textCode;// 输入兑奖码


    public WxchangeAwardJpanel() {
        this.setPreferredSize(new Dimension(600, 200));
        this.setLayout(null);
        this.setBackground(UIUtils.Color_BACK);

    }


    String xz2 = "";
    String xz3 = "";
    private ImageIcon icon;

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        if (icon == null) {
            icon = new ImageIcon("inkImg/hongmu/2/95_png.xy2uiimg.npctalk.png");
        }
        // 背景
        g.drawImage(icon.getImage(), 0, 0, 600, 200, this);

    }


}
